package com.boyi.db.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "`bss_area_info`")
public class BssAreaInfo {
    /**
     * 区域id
     */
    @Id
    @Column(name = "`area_id`")
    private Integer areaId;

    /**
     * 区域名字
     */
    @Column(name = "`area_name`")
    private String areaName;

    /**
     * 获取区域id
     *
     * @return area_id - 区域id
     */
    public Integer getAreaId() {
        return areaId;
    }

    /**
     * 设置区域id
     *
     * @param areaId 区域id
     */
    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    /**
     * 获取区域名字
     *
     * @return area_name - 区域名字
     */
    public String getAreaName() {
        return areaName;
    }

    /**
     * 设置区域名字
     *
     * @param areaName 区域名字
     */
    public void setAreaName(String areaName) {
        this.areaName = areaName == null ? null : areaName.trim();
    }
}